<ol class="group-list">
	{loop $groups $group}
	<li>
		<a href="{url group/show?groupid=$group['group_id']}">
			<span class="group-img">
				<img src="{echo groupbanner($group['group_id'])}" onerror="this.src=base_url+'assets/img/default_group_banner.gif';" title="$group['group_title']">
			</span>
			<h4>{echo sysSubStr($group['group_title'],40,true)}</h4>
			<span class="list-meta">
				{$group['total_member']} {lang group_member} | {$group['total_share']} {lang share}
			</span>
			<span class="list-desc">{echo sysSubStr($group['group_desc'],100,true)}</span>
		</a>
		<div class="action">
			{if $group['isowner']}
			<a class="btn btn-puzz" href="{url home/updategroup?groupid=$group['group_id']}">{lang edit}</a>
			{/if}
			{if $isadmin||$iseditor||$group['isowner']}
			<a class="btn btn-puzz" href="{url group/delete?groupid=$group['group_id']}">{lang delete}</a>
			{/if}
		</div>
	</li>
	{/loop}
</ol>